<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">

<head>
    <title></title>

    <script type="text/javascript">
        function Save() {
            //设置保存文件方法
            pageofficectrl.SaveFilePage="/WordHandDraw/save"
            pageofficectrl.WebSave();
        }
        function StartHandDraw(){
            pageofficectrl.word.StartHandDraw();
        }
        function OnPageOfficeCtrlInit() {
            pageofficectrl.AddCustomToolButton("保存", "Save()", 1);
            pageofficectrl.AddCustomToolButton("开始手写", "StartHandDraw()", 5);
        }
    </script>

</head>
<body>
    <div style="width:auto; height:700px;" th:utext="${pageoffice}">
    </div>
</body>

</html>
